home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-2000 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: Project
- @Property: sourceControl - contains the name of the
- source control scripts to use. This should be valid folder name in the
- in the Tools/Source Control folder. If this is empty then no
- Souce Control will be activated for the project. All packages
- in a project will use the same source control.
- @Syntax: project.sourceControl
- @Summary: sourceControl - contains the name of the Source Control scripts
- */
-
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("project.sourceControl", selection);
- editor.setActive("Insert project.sourceControl");
- }
- }
-
- !!/Script
-